package edu.scu.declaresys.service.intr;

import java.util.List;

import edu.scu.declaresys.exception.ExecuteException;
import edu.scu.declaresys.vo.Area;

/**
 * 
 * @author: zt
 * @since : 2013-7-9
 */
public interface IAreaService
{
	public Area findAreaById(Integer id, int depth) throws ExecuteException;
	
	public Area findByNameAndParent(Integer parentId, String areaName) throws ExecuteException;
	
	public List<Area> findAreaNextLevel(Integer parentId) throws ExecuteException;
	
	public Integer addArea(Area vo) throws ExecuteException;
	
	public void modifyArea(Area vo, Integer id) throws ExecuteException;
	
	public void deleteArea(Integer id) throws ExecuteException;
}
